package com.winspread.app.power

import com.winspread.active.extension.loge
import com.winspread.app.R
import com.winspread.app.databinding.ActivityPowerBinding
import com.winspread.mvvm.base.vm.BaseActivity

class PowerActivity : BaseActivity<PowerVM, ActivityPowerBinding>(R.layout.activity_power) {


    override fun initView() {
        binding.vm = viewModel
        xxx()
    }


    fun ssss(ss: Int): Boolean {
        "ssss1".loge("xxxx")
        if (ss == 1) {
            return false
        }
        "ssss2".loge("xxxx")
        return true

    }


    fun xxx() {

         (0..10).forEach {
             "sssss${it}".loge("xxxxxxx")
            if (it < 2) {
                return
            }
            "xxxxx${it}".loge("xxxxxxx")
        }
        "hhhhhhh".loge("xxxxxxx")

    }
}